package com.hop.thread.safe;

public class ThreadWaitTest {

	public static void main(String[] args) {
		Account account = new Account();
		Thread t1 = new DrawMoneyWaitThread("取钱线程", account, 700);
		Thread t2 = new DepositeMoneyWaitThread("存钱线程", account, 700);
		t1.start();
		t2.start();

	}

}
